05. String Slicing

String Slicing

Start Quiz:

# Insert the proper slicing indices for the substring variable 
# so that the slice is a string that contains everything after "A NOUN". 
# For example, if we wanted to store everything after "went", the returned 
# string would be equal to sentence[11:].

sentence = "A NOUN went on a walk."
substring = sentence[:]
Solution: